University of British Columbia
I would like to acknowledge that I work on the traditional, ancestral, and unceded territory of the Coast Salish Peoples, including the territories of the xwməθkwəy̓əm (Musqueam), Skwxwú7mesh (Squamish), Stó:lō and Səl̓ílwətaʔ/Selilwitulh (Tsleil- Waututh) Nations.
Traditional: Traditionally used and/or occupied by Musqueam people
Ancestral: Recognizes land that is handed down from generation to generation
Unceded: Refers to land that was not turned over to the Crown (government) by a treaty or other agreement
Checkout the instruction of your right platform below:
Open this link to download, once it is finished:
VSCode-darwin-universal.zip fileDownloads to Applications (Located to your left under Favorites)Command Palette by Cmd + Shift + Pshell commandcode command in PATHcode --version to confirm successful installationOpen this link to download.
Run the installer, accept default config except:
Note
You need to have a UBC IP address in order to access to the server by connecting to eduroam or ubcsecure
Login to sockeye with the ssh command:
cwl is your campus wide login
password is your same CWL password
sockeye.arc.ubc.ca is the server address
you also need Two-Factor Authentication 2FA
ssh key pair credentials in your local~/.ssh/config in your localssh <new_alias>Caution
Keep the private key safe and for your use only
Add your public key to the server
Use any editor to create ~/.ssh/config and enter the following:
login node and spend most time herebatch jobs to serverPBS, changing to SLURM1 soonTip
We also have a recorded session from past months, if you’re interested please contact Amrit
Tip
Remember that read/write access matters! You clearly don’t want to spend hours fitting models, but failed to write any results, cause you forgot to specify it to be the scratch directory.
Using direct text editors like nano or vi/vim could be hard (steep learning curve)
So, use VSCode instead!
Open local terminal and prompt code
Press Ctrl + Shift + X
Type Remote - SSH in search bar
Open first option and click install
ssh:container or conda Useful commands
module load bin1/x.y.z bin2/x.y.z # load two modules and their versions
module purge # unload all modules
module list # what you have loaded
module save name_col # save loaded modules to "<name_col>"
module savelist # list saved collections (<name col> this case)
module restore name_col # load saved collection
module avail # show all available modules
module spider mod_name # check available `<mod_name>` in sockeyesshTip
We are building our lab handbook with known FAQs for debugging on Sockeye, check out here
Thanks!